package com.caojing.haolemai.bean.outletsproductbean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2016/10/22 0022.
 */
public class OutletsProductBean {

    /**
     * status : 1
     * reason :
     * results : {"product_id":17351573,"code":"TABB81205-4","name":"探路者 男式 户外防风防泼水冲锋衣","market_price":699,"sale_price":239,"status":"1","if_can_use_card":"0","time_to_market":"201301","brand_id":50,"category_id":259,"main_color":"","is_outlets":"1","is_import":0,"is_collect":0,"import_logo":"","explain":"此商品仅支持退货，不支持换货","left_icon_url":"","right_icon_url":"","brand_name":"探路者","gender_id":"1","gender_name":"男式","photos":{"l_1":"http://0.image.kw.okbuycdn.com/nbn/w498_498/static/fb217938beda286d5e0944053d98ad93.jpg"},"list_image":"http://0.image.lx.okbuycdn.com/nbn/w270_270/static/087c779383fad321472674d08537ed01.jpg","category_name":"冲锋衣","comments_info":{"counts":"0","total_score":"0","summary_rating":"0","suit_rating":"0","style_rating":"0","size_rating":"0","width_rating":"0"},"show_orders_info":{"counts":0},"relate_coms":[{"product_id":17351573,"photo":"http://0.image.lx.okbuycdn.com/nbn/w150_150/static/087c779383fad321472674d08537ed01.jpg","color_name":"图片色"}],"new_name":"男式 户外防风防泼水冲锋衣","ad_word":"","comment_total":3,"has_size":0,"help_size":"","size_compare":{"stand_size_id":"6","size_cat_info":{"2":"原尺码","6":"尺码","46":"腰围","113":"实测内长（MM）"},"size_infos":[{"2":"165","6":"S","46":"80B","113":"--"},{"2":"170","6":"M","46":"84B","113":"--"},{"2":"175","6":"L","46":"88B","113":"--"},{"2":"180","6":"XL","46":"92B","113":"--"},{"2":"185","6":"XXL","46":"96B","113":"--"},{"2":"190","6":"XXXL","46":"100B","113":"--"},{"2":"160","6":"XS","46":"76B","113":"--"}]},"promotions":null,"outlets_info":{"id":"11385","title":"探路者专场","image_index":"http://0.image.lx.okbuycdn.com/images/multipic/new/201610/82/82794da79080a91335c6cc3826a26264.jpg","discount":"满299减100","start_time":"2016-10-20 10:00:00","end_time":"2016-10-25 10:00:00","subscribe":false,"max_buy":"-1"},"notes":"","quick_shopping":1}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("reason")
    private String reason;
    /**
     * product_id : 17351573
     * code : TABB81205-4
     * name : 探路者 男式 户外防风防泼水冲锋衣
     * market_price : 699
     * sale_price : 239
     * status : 1
     * if_can_use_card : 0
     * time_to_market : 201301
     * brand_id : 50
     * category_id : 259
     * main_color :
     * is_outlets : 1
     * is_import : 0
     * is_collect : 0
     * import_logo :
     * explain : 此商品仅支持退货，不支持换货
     * left_icon_url :
     * right_icon_url :
     * brand_name : 探路者
     * gender_id : 1
     * gender_name : 男式
     * photos : {"l_1":"http://0.image.kw.okbuycdn.com/nbn/w498_498/static/fb217938beda286d5e0944053d98ad93.jpg"}
     * list_image : http://0.image.lx.okbuycdn.com/nbn/w270_270/static/087c779383fad321472674d08537ed01.jpg
     * category_name : 冲锋衣
     * comments_info : {"counts":"0","total_score":"0","summary_rating":"0","suit_rating":"0","style_rating":"0","size_rating":"0","width_rating":"0"}
     * show_orders_info : {"counts":0}
     * relate_coms : [{"product_id":17351573,"photo":"http://0.image.lx.okbuycdn.com/nbn/w150_150/static/087c779383fad321472674d08537ed01.jpg","color_name":"图片色"}]
     * new_name : 男式 户外防风防泼水冲锋衣
     * ad_word :
     * comment_total : 3
     * has_size : 0
     * help_size :
     * size_compare : {"stand_size_id":"6","size_cat_info":{"2":"原尺码","6":"尺码","46":"腰围","113":"实测内长（MM）"},"size_infos":[{"2":"165","6":"S","46":"80B","113":"--"},{"2":"170","6":"M","46":"84B","113":"--"},{"2":"175","6":"L","46":"88B","113":"--"},{"2":"180","6":"XL","46":"92B","113":"--"},{"2":"185","6":"XXL","46":"96B","113":"--"},{"2":"190","6":"XXXL","46":"100B","113":"--"},{"2":"160","6":"XS","46":"76B","113":"--"}]}
     * promotions : null
     * outlets_info : {"id":"11385","title":"探路者专场","image_index":"http://0.image.lx.okbuycdn.com/images/multipic/new/201610/82/82794da79080a91335c6cc3826a26264.jpg","discount":"满299减100","start_time":"2016-10-20 10:00:00","end_time":"2016-10-25 10:00:00","subscribe":false,"max_buy":"-1"}
     * notes :
     * quick_shopping : 1
     */

    @SerializedName("results")
    private ResultsEntity results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultsEntity getResults() {
        return results;
    }

    public void setResults(ResultsEntity results) {
        this.results = results;
    }

    public static class ResultsEntity {
        @SerializedName("product_id")
        private int productId;
        @SerializedName("code")
        private String code;
        @SerializedName("name")
        private String name;
        @SerializedName("market_price")
        private int marketPrice;
        @SerializedName("sale_price")
        private int salePrice;
        @SerializedName("status")
        private String status;
        @SerializedName("if_can_use_card")
        private String ifCanUseCard;
        @SerializedName("time_to_market")
        private String timeToMarket;
        @SerializedName("brand_id")
        private int brandId;
        @SerializedName("category_id")
        private int categoryId;
        @SerializedName("main_color")
        private String mainColor;
        @SerializedName("is_outlets")
        private String isOutlets;
        @SerializedName("is_import")
        private int isImport;
        @SerializedName("is_collect")
        private int isCollect;
        @SerializedName("import_logo")
        private String importLogo;
        @SerializedName("explain")
        private String explain;
        @SerializedName("left_icon_url")
        private String leftIconUrl;
        @SerializedName("right_icon_url")
        private String rightIconUrl;
        @SerializedName("brand_name")
        private String brandName;
        @SerializedName("gender_id")
        private String genderId;
        @SerializedName("gender_name")
        private String genderName;
        /**
         * l_1 : http://0.image.kw.okbuycdn.com/nbn/w498_498/static/fb217938beda286d5e0944053d98ad93.jpg
         */

        @SerializedName("photos")
        private PhotosEntity photos;
        @SerializedName("list_image")
        private String listImage;
        @SerializedName("category_name")
        private String categoryName;
        /**
         * counts : 0
         * total_score : 0
         * summary_rating : 0
         * suit_rating : 0
         * style_rating : 0
         * size_rating : 0
         * width_rating : 0
         */

        @SerializedName("comments_info")
        private CommentsInfoEntity commentsInfo;
        /**
         * counts : 0
         */

        @SerializedName("show_orders_info")
        private ShowOrdersInfoEntity showOrdersInfo;
        @SerializedName("new_name")
        private String newName;
        @SerializedName("ad_word")
        private String adWord;
        @SerializedName("comment_total")
        private int commentTotal;
        @SerializedName("has_size")
        private int hasSize;
        @SerializedName("help_size")
        private String helpSize;
        /**
         * stand_size_id : 6
         * size_cat_info : {"2":"原尺码","6":"尺码","46":"腰围","113":"实测内长（MM）"}
         * size_infos : [{"2":"165","6":"S","46":"80B","113":"--"},{"2":"170","6":"M","46":"84B","113":"--"},{"2":"175","6":"L","46":"88B","113":"--"},{"2":"180","6":"XL","46":"92B","113":"--"},{"2":"185","6":"XXL","46":"96B","113":"--"},{"2":"190","6":"XXXL","46":"100B","113":"--"},{"2":"160","6":"XS","46":"76B","113":"--"}]
         */

        @SerializedName("size_compare")
        private SizeCompareEntity sizeCompare;
        @SerializedName("promotions")
        private Object promotions;
        /**
         * id : 11385
         * title : 探路者专场
         * image_index : http://0.image.lx.okbuycdn.com/images/multipic/new/201610/82/82794da79080a91335c6cc3826a26264.jpg
         * discount : 满299减100
         * start_time : 2016-10-20 10:00:00
         * end_time : 2016-10-25 10:00:00
         * subscribe : false
         * max_buy : -1
         */

        @SerializedName("outlets_info")
        private OutletsInfoEntity outletsInfo;
        @SerializedName("notes")
        private String notes;
        @SerializedName("quick_shopping")
        private int quickShopping;
        /**
         * product_id : 17351573
         * photo : http://0.image.lx.okbuycdn.com/nbn/w150_150/static/087c779383fad321472674d08537ed01.jpg
         * color_name : 图片色
         */

        @SerializedName("relate_coms")
        private List<RelateComsEntity> relateComs;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getMarketPrice() {
            return marketPrice;
        }

        public void setMarketPrice(int marketPrice) {
            this.marketPrice = marketPrice;
        }

        public int getSalePrice() {
            return salePrice;
        }

        public void setSalePrice(int salePrice) {
            this.salePrice = salePrice;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getIfCanUseCard() {
            return ifCanUseCard;
        }

        public void setIfCanUseCard(String ifCanUseCard) {
            this.ifCanUseCard = ifCanUseCard;
        }

        public String getTimeToMarket() {
            return timeToMarket;
        }

        public void setTimeToMarket(String timeToMarket) {
            this.timeToMarket = timeToMarket;
        }

        public int getBrandId() {
            return brandId;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getMainColor() {
            return mainColor;
        }

        public void setMainColor(String mainColor) {
            this.mainColor = mainColor;
        }

        public String getIsOutlets() {
            return isOutlets;
        }

        public void setIsOutlets(String isOutlets) {
            this.isOutlets = isOutlets;
        }

        public int getIsImport() {
            return isImport;
        }

        public void setIsImport(int isImport) {
            this.isImport = isImport;
        }

        public int getIsCollect() {
            return isCollect;
        }

        public void setIsCollect(int isCollect) {
            this.isCollect = isCollect;
        }

        public String getImportLogo() {
            return importLogo;
        }

        public void setImportLogo(String importLogo) {
            this.importLogo = importLogo;
        }

        public String getExplain() {
            return explain;
        }

        public void setExplain(String explain) {
            this.explain = explain;
        }

        public String getLeftIconUrl() {
            return leftIconUrl;
        }

        public void setLeftIconUrl(String leftIconUrl) {
            this.leftIconUrl = leftIconUrl;
        }

        public String getRightIconUrl() {
            return rightIconUrl;
        }

        public void setRightIconUrl(String rightIconUrl) {
            this.rightIconUrl = rightIconUrl;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getGenderId() {
            return genderId;
        }

        public void setGenderId(String genderId) {
            this.genderId = genderId;
        }

        public String getGenderName() {
            return genderName;
        }

        public void setGenderName(String genderName) {
            this.genderName = genderName;
        }

        public PhotosEntity getPhotos() {
            return photos;
        }

        public void setPhotos(PhotosEntity photos) {
            this.photos = photos;
        }

        public String getListImage() {
            return listImage;
        }

        public void setListImage(String listImage) {
            this.listImage = listImage;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public CommentsInfoEntity getCommentsInfo() {
            return commentsInfo;
        }

        public void setCommentsInfo(CommentsInfoEntity commentsInfo) {
            this.commentsInfo = commentsInfo;
        }

        public ShowOrdersInfoEntity getShowOrdersInfo() {
            return showOrdersInfo;
        }

        public void setShowOrdersInfo(ShowOrdersInfoEntity showOrdersInfo) {
            this.showOrdersInfo = showOrdersInfo;
        }

        public String getNewName() {
            return newName;
        }

        public void setNewName(String newName) {
            this.newName = newName;
        }

        public String getAdWord() {
            return adWord;
        }

        public void setAdWord(String adWord) {
            this.adWord = adWord;
        }

        public int getCommentTotal() {
            return commentTotal;
        }

        public void setCommentTotal(int commentTotal) {
            this.commentTotal = commentTotal;
        }

        public int getHasSize() {
            return hasSize;
        }

        public void setHasSize(int hasSize) {
            this.hasSize = hasSize;
        }

        public String getHelpSize() {
            return helpSize;
        }

        public void setHelpSize(String helpSize) {
            this.helpSize = helpSize;
        }

        public SizeCompareEntity getSizeCompare() {
            return sizeCompare;
        }

        public void setSizeCompare(SizeCompareEntity sizeCompare) {
            this.sizeCompare = sizeCompare;
        }

        public Object getPromotions() {
            return promotions;
        }

        public void setPromotions(Object promotions) {
            this.promotions = promotions;
        }

        public OutletsInfoEntity getOutletsInfo() {
            return outletsInfo;
        }

        public void setOutletsInfo(OutletsInfoEntity outletsInfo) {
            this.outletsInfo = outletsInfo;
        }

        public String getNotes() {
            return notes;
        }

        public void setNotes(String notes) {
            this.notes = notes;
        }

        public int getQuickShopping() {
            return quickShopping;
        }

        public void setQuickShopping(int quickShopping) {
            this.quickShopping = quickShopping;
        }

        public List<RelateComsEntity> getRelateComs() {
            return relateComs;
        }

        public void setRelateComs(List<RelateComsEntity> relateComs) {
            this.relateComs = relateComs;
        }

        public static class PhotosEntity {
            @SerializedName("l_1")
            private String l1;

            public String getL1() {
                return l1;
            }

            public void setL1(String l1) {
                this.l1 = l1;
            }
        }

        public static class CommentsInfoEntity {
            @SerializedName("counts")
            private String counts;
            @SerializedName("total_score")
            private String totalScore;
            @SerializedName("summary_rating")
            private String summaryRating;
            @SerializedName("suit_rating")
            private String suitRating;
            @SerializedName("style_rating")
            private String styleRating;
            @SerializedName("size_rating")
            private String sizeRating;
            @SerializedName("width_rating")
            private String widthRating;

            public String getCounts() {
                return counts;
            }

            public void setCounts(String counts) {
                this.counts = counts;
            }

            public String getTotalScore() {
                return totalScore;
            }

            public void setTotalScore(String totalScore) {
                this.totalScore = totalScore;
            }

            public String getSummaryRating() {
                return summaryRating;
            }

            public void setSummaryRating(String summaryRating) {
                this.summaryRating = summaryRating;
            }

            public String getSuitRating() {
                return suitRating;
            }

            public void setSuitRating(String suitRating) {
                this.suitRating = suitRating;
            }

            public String getStyleRating() {
                return styleRating;
            }

            public void setStyleRating(String styleRating) {
                this.styleRating = styleRating;
            }

            public String getSizeRating() {
                return sizeRating;
            }

            public void setSizeRating(String sizeRating) {
                this.sizeRating = sizeRating;
            }

            public String getWidthRating() {
                return widthRating;
            }

            public void setWidthRating(String widthRating) {
                this.widthRating = widthRating;
            }
        }

        public static class ShowOrdersInfoEntity {
            @SerializedName("counts")
            private int counts;

            public int getCounts() {
                return counts;
            }

            public void setCounts(int counts) {
                this.counts = counts;
            }
        }

        public static class SizeCompareEntity {
            @SerializedName("stand_size_id")
            private String standSizeId;
            /**
             * 2 : 原尺码
             * 6 : 尺码
             * 46 : 腰围
             * 113 : 实测内长（MM）
             */

            @SerializedName("size_cat_info")
            private SizeCatInfoEntity sizeCatInfo;
            /**
             * 2 : 165
             * 6 : S
             * 46 : 80B
             * 113 : --
             */

            @SerializedName("size_infos")
            private List<SizeInfosEntity> sizeInfos;

            public String getStandSizeId() {
                return standSizeId;
            }

            public void setStandSizeId(String standSizeId) {
                this.standSizeId = standSizeId;
            }

            public SizeCatInfoEntity getSizeCatInfo() {
                return sizeCatInfo;
            }

            public void setSizeCatInfo(SizeCatInfoEntity sizeCatInfo) {
                this.sizeCatInfo = sizeCatInfo;
            }

            public List<SizeInfosEntity> getSizeInfos() {
                return sizeInfos;
            }

            public void setSizeInfos(List<SizeInfosEntity> sizeInfos) {
                this.sizeInfos = sizeInfos;
            }

            public static class SizeCatInfoEntity {
                @SerializedName("2")
                private String value2;
                @SerializedName("6")
                private String value6;
                @SerializedName("46")
                private String value46;
                @SerializedName("113")
                private String value113;

                public String getValue2() {
                    return value2;
                }

                public void setValue2(String value2) {
                    this.value2 = value2;
                }

                public String getValue6() {
                    return value6;
                }

                public void setValue6(String value6) {
                    this.value6 = value6;
                }

                public String getValue46() {
                    return value46;
                }

                public void setValue46(String value46) {
                    this.value46 = value46;
                }

                public String getValue113() {
                    return value113;
                }

                public void setValue113(String value113) {
                    this.value113 = value113;
                }
            }

            public static class SizeInfosEntity {
                @SerializedName("2")
                private String value2;
                @SerializedName("6")
                private String value6;
                @SerializedName("46")
                private String value46;
                @SerializedName("113")
                private String value113;

                public String getValue2() {
                    return value2;
                }

                public void setValue2(String value2) {
                    this.value2 = value2;
                }

                public String getValue6() {
                    return value6;
                }

                public void setValue6(String value6) {
                    this.value6 = value6;
                }

                public String getValue46() {
                    return value46;
                }

                public void setValue46(String value46) {
                    this.value46 = value46;
                }

                public String getValue113() {
                    return value113;
                }

                public void setValue113(String value113) {
                    this.value113 = value113;
                }
            }
        }

        public static class OutletsInfoEntity {
            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("image_index")
            private String imageIndex;
            @SerializedName("discount")
            private String discount;
            @SerializedName("start_time")
            private String startTime;
            @SerializedName("end_time")
            private String endTime;
            @SerializedName("subscribe")
            private boolean subscribe;
            @SerializedName("max_buy")
            private String maxBuy;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImageIndex() {
                return imageIndex;
            }

            public void setImageIndex(String imageIndex) {
                this.imageIndex = imageIndex;
            }

            public String getDiscount() {
                return discount;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public boolean isSubscribe() {
                return subscribe;
            }

            public void setSubscribe(boolean subscribe) {
                this.subscribe = subscribe;
            }

            public String getMaxBuy() {
                return maxBuy;
            }

            public void setMaxBuy(String maxBuy) {
                this.maxBuy = maxBuy;
            }
        }

        public static class RelateComsEntity {
            @SerializedName("product_id")
            private int productId;
            @SerializedName("photo")
            private String photo;
            @SerializedName("color_name")
            private String colorName;

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getColorName() {
                return colorName;
            }

            public void setColorName(String colorName) {
                this.colorName = colorName;
            }
        }
    }
}
